<div class="navbar">
  <div class="navbar-inner">
    <div class="left"><a href="#" class="back link"> <i class="icon icon-back"></i><span>返回</span></a></div>
    <div class="center sliding" style="color:#FFF">{$event.title}</div>
    <div class="right">
      <!-- Right link contains only icon - additional "icon-only" class--><a href="#" class="link icon-only open-panel"> <i class="icon icon-bars"></i></a>
    </div>
  </div>
</div>
<div class="pages">
<div class="page" data-page="gifts">
<div class="page-content pull-to-refresh-content" data-ptr-distance="55" >
	<div class="pull-to-refresh-layer">
      <div class="preloader"></div>
      <div class="pull-to-refresh-arrow"></div>
    </div>
	<div class="content-block-title">您有{$gift_count|default:0}个奖品可以领取！</div>
	<div class="list-block media-list">
	  <ul>
	  {foreach from=$newgifts item=gift key=key}
		<li>
			<a href="#" class="item-link item-content newgift" data-egid="{$gift.id}" data-gettype="{$gift.advance}" data-type="{$gift.gift_type}" data-name="{$gift.name}" data-epid="{$gift.epid}">
			<div class="item-media"><img src="{$gift.pic_url}" width="80"></div>
			<div class="item-inner">
			  <div class="item-title-row">
				<div class="item-title">{$gift.name}</div>
				<div class="item-after">立即领取</div>
			  </div>
			  <div class="item-subtitle">{$gift.score_diff_txt}</div>
			  <div class="item-text">{$gift.getway_txt}</div>
			</div>
			</a>
		</li>
	  {/foreach}
	  </ul>
	</div>
	<div class="content-block-title">您已有{$type_count}种共{$all_count}个奖品：</div>
	<div class="list-block media-list">
	  <ul>
	  {foreach from=$gifts item=gift key=key}
		<li>
			<a href="#" class="item-link item-content gift" data-gift_id="{$gift.gift_id}">
			<div class="item-media"><img src="{$gift.gift_pic_url}" width="80"></div>
			<div class="item-inner">
			  <div class="item-title-row">
				<div class="item-title">{$gift.gift_name}</div>
				<div class="item-after">查看详情</div>
			  </div>
			  <div class="item-subtitle">{$gift.score_diff_txt}</div>
			  <div class="item-text">({$gift.count}个)</div>
			</div>
			</a>
		</li>
	  {/foreach}
	  </ul>
	</div>
</div>
</div>
</div>
<br />